package com.xu.mylol.acyivity;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.xu.mylol.R;

/**
 * Created by dllo on 16/1/13.
 */
public class QueryActivity extends AppCompatActivity {

    private WebView webView;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_query);
        webView = (WebView) findViewById(R.id.web_view);
        webView.getSettings().setJavaScriptEnabled(true);
        webView.setWebViewClient(new WebViewClient());
        String yinchang = getIntent().getStringExtra("yinchang");
        webView.loadUrl(yinchang);
        String zhandou = getIntent().getStringExtra("zhandou");
        webView.loadUrl(zhandou);
        String shangdan= getIntent().getStringExtra("shangdan");
        webView.loadUrl(shangdan);
        String zhongdan = getIntent().getStringExtra("zhongdan");
        webView.loadUrl(zhongdan);
        String ad = getIntent().getStringExtra("ad");
        webView.loadUrl(ad);
        String benming = getIntent().getStringExtra("benming");
        webView.loadUrl(benming);
        String kengdie = getIntent().getStringExtra("kengdie");
        webView.loadUrl(kengdie);
        String guanjian = getIntent().getStringExtra("guanjian");
        webView.loadUrl(guanjian);


    }
}
